package redis

import "github.com/go-redis/redis/v8"

type SubMsg = redis.Message

func (r *RedisIns) subscribe(channels ...string) *redis.PubSub {
	return r.ins.Subscribe(r.ctx, channels...)
}

func (r *RedisIns) psubscribe(pattens ...string) *redis.PubSub {
	return r.ins.PSubscribe(r.ctx, pattens...)
}
